package mapEditor.view.mapEdit
{
	import flash.display.Sprite;
	import flash.events.Event;
	
	import utils.DisplayUtil;

	public class TerrainPropertyPanelView extends Sprite
	{
		private var _terrainPropertyView:TerrainPropertyView;
		
		public function TerrainPropertyPanelView()
		{
			_terrainPropertyView=new TerrainPropertyView();
			addChild(_terrainPropertyView);
		}
		
		public function dispose():void
		{
			DisplayUtil.dispose(_terrainPropertyView);
			_terrainPropertyView=null;
			if(parent)parent.removeChild(this);
		}
	}
}